﻿@model testApp2.Models.UserInterest
<li style="padding-bottom: 15px">
    @using (Html.BeginCollectionItem("Interests"))
    {
        <img src="@Url.Content("~/Content/images/draggable-icon.png")" style="cursor: move" alt=""/>
        @Html.LabelFor(model => model.InterestText)
        @Html.EditorFor(model => model.InterestText)
        @Html.ValidationMessageFor(model => model.InterestText)
        @Html.LabelFor(model => model.IsExperienced)
        @Html.CheckBoxFor(model => model.IsExperienced)
        <a href="#" onclick="$(this).parent().remove();">Delete</a>
    }
</li>
